import { PLAYER_INFO } from "../Core/AppDef";

const {ccclass, property} = cc._decorator;

@ccclass
export default class UserModel {

    myUserInfo = new PLAYER_INFO();
    constructor() {}
    onLoad () {
        
    }

    init(){
        
    }

    public setMyName(name){
        this.myUserInfo.name = name;
    }
    public getMyName(){
        return this.myUserInfo.name;
    }
}
